package com.example.studentstatusmanagement.service;

import com.example.studentstatusmanagement.pojo.Msg;
import com.example.studentstatusmanagement.pojo.Sturead;
import com.example.studentstatusmanagement.pojo.StureadExample;
import com.example.studentstatusmanagement.pojo.doo.ReqMsg;
import com.example.studentstatusmanagement.pojo.doo.ReqSMsg;
import com.example.studentstatusmanagement.pojo.dto.SMsg;

import java.util.List;

public interface MsgService {

    List<SMsg> selectMsgs(ReqMsg reqMsg);


    int deleteByPrimaryKey(Integer id);

    int insertSelective(Msg record);

    Msg selectByPrimaryKey(Integer id);

    List<SMsg> selectMsgsByStu(ReqSMsg sMsgs);

    List<Sturead> selectByExampleStuRead(StureadExample example);

    int insertSelectiveStuRead(Sturead record);
}
